//
//  FoodList.m
//  shise
//
//  Created by 毛志鹏 on 14/12/17.
//  Copyright (c) 2014年 MZP. All rights reserved.
//

#import "FoodList.h"

@implementation FoodList


- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"pic"]) {
        self.pic_url = [value objectForKey:@"url"];
    } else if ([key isEqualToString:@"url"]) {
        self.api = value;
    }
}

- (void)dealloc
{
    [_type release];
    [_title release];
    [_desc release];
    [_pic_url release];
    [_api release];
    [super dealloc];
}


@end
